package InterfaceDemo3;
public class Tablet extends ElectronicDeviceAbstract {
    private String model;
    public Tablet(String model) { this.model = model; }
    @Override public void powerOn() { System.out.println(model + "平板开机"); }
    @Override public void powerOff() { System.out.println(model + "平板关机"); }
    @Override public void repair() { System.out.println(model + "平板报修：可能屏幕损坏"); }
    @Override public void charge() { System.out.println(model + "平板正在充电..."); }
}